Date Range Picker Element

The Date Range Picker Element allows the user to specify a Start date and an End date from a calendar-based interface:

 

Picture showing the Date Range Picker Calendar

At runtime, to enter Start and End dates or change the existing dates, the user can click or tap the Calender button, Picture showing the Calendar Button., at the right-hand end of the Element to display a calendar dialog (which shows separate Start Date and End Date calendars, as illustrated above) allowing them to locate and select the desired dates.

 

At the top of the dialog, you will see the current month and year displayed within the left-hand calendar, with '<' and '>' arrows on either side of the month and year. Clicking on these arrows will move backwards or forwards one month at a time. Within the right-hand calendar, the following month will be displayed. Below these two calendars are displayed the days of the Start date month and the days of the End date month, allowing the user to click on the required dates. By default, the current day will be selected within the Start Date calendar. To move more quickly, click on the month/year at the top of either calendar to display the months for the whole year instead of the days of the month. Now the current year will be displayed at the top of the dialog and the '<' and '>' arrows will move you backwards and forwards one year at a time. Click on the year at the top of either calendar to display 12 years beneath it, then use the arrows to move backwards and forwards 12 years at a time. At each level, making a selection will move the dialog back one level.

  • Selecting an invalid date, such as a End date that is earlier than the Start date, will mean that the Apply button at the bottom of the dialog box will be unavailable. The Apply button will only be available when valid date ranges are used.

Alternatively, if allowed (see Manual Entry property below), a user can type-in the date, in any of the following formats and Digitise Forms will convert it to the date format specified in the Element's Date Format property (see below):

 

Format

Examples

yyyy-mm-dd, yyyy/mm/dd

months and days can have optional leading zero

2018-1-3, 1964/01/03

yy-mm-dd, yy/mm/dd

months and days can have optional leading zero

18-1-3, 18/01/03

years will be prefixed with '20' so

88/01/03 represents 3rd January 2088

dd-mm-yyyy, dd/mm/yyyy

months and days can have optional leading zero

3-1-2018, 03/01/1964

dd-mm-yy, dd/mm/yy

months and days can have optional leading zero

3-1-18, 03/01/18

years will be prefixed with '20' so

03/01/88 represents 3rd January 2088

 

When inputting a date read-in from a Datasource, the date must be read from a DateTime field.

When outputting a date, the date will be output to the Datasource in the format specified in the Date Format property (see below).